package com.rc.mutievcharger.dto.ylevcharger.terminal.req;

import com.rc.evcharger.common.annotation.ByteLength;
import com.rc.evcharger.common.base.yl.BaseYlCommand;

import java.util.List;

/**
 * Create by Yang on 2021/4/26
 * 充电桩定期发送该指令向服务器传递连接心跳包信息，
 * (CMD=102)充电桩上传心跳包信息
 */
public class YlHearBeatCommondReq extends BaseYlCommand {

    @ByteLength(length = 2)
    private String obligate1; //预留字段1
    @ByteLength(length = 2)
    private String obligate2; //预留字段1
    @ByteLength(length = 32)
    private String terminalId; //充电桩编号
    @ByteLength(length = 2)
    private String heatNumber; //心跳序号   缺省=0

    private List<String> statusGunList;

    public YlHearBeatCommondReq() {
    }

    public YlHearBeatCommondReq(String dataArea) {
        YlHearBeatCommondReq result = (YlHearBeatCommondReq) this.getResult(dataArea);
    }

    public List<String> getStatusGunList() {
        return statusGunList;
    }

    public void setStatusGunList(List<String> statusGunList) {
        this.statusGunList = statusGunList;
    }

    public String getObligate1() {
        return obligate1;
    }

    public void setObligate1(String obligate1) {
        this.obligate1 = obligate1;
    }

    public String getObligate2() {
        return obligate2;
    }

    public void setObligate2(String obligate2) {
        this.obligate2 = obligate2;
    }

    public String getTerminalId() {
        return terminalId;
    }

    public void setTerminalId(String terminalId) {
        this.terminalId = terminalId;
    }

    public String getHeatNumber() {
        return heatNumber;
    }

    public void setHeatNumber(String heatNumber) {
        this.heatNumber = heatNumber;
    }

    //public String getStatusGuns() {
    //    return statusGuns;
    //}

    //public void setStatusGuns(String statusGuns) {
    //    this.statusGuns = statusGuns;
    //}
}
